package com.chaodev.base.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * vcbase
 *
 * @author 95634
 * @描述
 * @date 2023/5/24 17:26
 **/
public class CompanyInfo implements Serializable {

    private static final long serialVersionUID = -7049088632165729775L;
    @ApiModelProperty(value = "公司编码,与组织架构中的depart_id一致")
    private String companyNo;

    @ApiModelProperty(value = "公司名称")
    private String name;

    @ApiModelProperty(value = "公司类型")
    private String type;

    @ApiModelProperty(value = "社会信用代码")
    private String socialCreditCode;

    @ApiModelProperty(value = "公司简介")
    private String profile;

    @ApiModelProperty(value = "经营范围")
    private String businessScope;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private String lnt;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "联系方式")
    private String telephone;

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "信息是否可预览:1 展示 0 不可以查看")
    private String isShow;

    @ApiModelProperty(value = "是否删除 1：是 0：否")
    private Integer isDele;

    @ApiModelProperty(value = "头部预览图片")
    private String headImg;

    @ApiModelProperty(value = "创建人")
    private String cUser;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date cTime;

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }
    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }
    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getLnt() {
        return lnt;
    }

    public void setLnt(String lnt) {
        this.lnt = lnt;
    }
    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }
    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }
    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }
    public Integer getIsDele() {
        return isDele;
    }

    public void setIsDele(Integer isDele) {
        this.isDele = isDele;
    }
    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }
    public String getcUser() {
        return cUser;
    }

    public void setcUser(String cUser) {
        this.cUser = cUser;
    }
    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    @Override
    public String toString() {
        return "CompanyInfo{" +
                "companyNo=" + companyNo +
                ", name=" + name +
                ", type=" + type +
                ", socialCreditCode=" + socialCreditCode +
                ", profile=" + profile +
                ", businessScope=" + businessScope +
                ", address=" + address +
                ", lnt=" + lnt +
                ", lat=" + lat +
                ", telephone=" + telephone +
                ", contacts=" + contacts +
                ", isShow=" + isShow +
                ", isDele=" + isDele +
                ", headImg=" + headImg +
                ", cUser=" + cUser +
                ", cTime=" + cTime +
                "}";
    }
}
